<?php
class WidgetFactory extends CWidgetFactory {

        public $cssFile = '';

        public function createWidget($owner, $className, $properties=array()) {
                $properties['cssFile'] = $this->cssFile;
                return parent::createWidget($owner, $className, $properties);
        }

}
?>
